package com.container.app.testclasses.configurations;

import com.container.app.MContainer;
import com.container.app.MContainerConfiguration;
import com.container.app.annotations.ImplementationTag;
import com.container.app.testclasses.movies.MovieFinder;
import com.container.app.testclasses.movies.MovieFinderSimpleImplementation;
import com.container.app.utilities.Pair;

/**
 * Created with IntelliJ IDEA.
 * User: Georgiana.Scarlat
 * Date: 8/7/12
 * Time: 11:17 AM
 */
public class PartOfSimpleConfiguration extends MContainerConfiguration {
    public PartOfSimpleConfiguration(MContainer container) {
        super(container);
    }

    @Override
    public void configure() {
        addMapping(MovieFinder.class, new Pair<Class, String>(ImplementationTag.class, "simple implementation"), MovieFinderSimpleImplementation.class);
    }
}
